Make recompute take a const.
authorrobertl <robertl>
Fri, 28 Apr 2006 17:03:34 +0000 (17:03 +0000)
committerrobertl <robertl>
Fri, 28 Apr 2006 17:03:34 +0000 (17:03 +0000)
route.c

diff --git a/route.c b/route.c
index 108d1046034377e4ba29fadfd0c9bab92a71d2c9..df156b0a9224c9fe601c203330b2caf57e58ccbe 100644 (file)
--- a/route.c
+++ b/route.c
@@ -448,7 +448,7 @@ track_restore( queue *head_bak)
  * Run over all the trackpoints, computing heading (course), speed, and
  * and so on.
  */
-void track_recompute(route_head *trk)
+void track_recompute(const route_head *trk)
 {
        waypoint first;
        waypoint *this;